class BugsUserId < ActiveRecord::Migration
  def self.up
    execute "ALTER TABLE `bugs` ADD `user_id` INT NOT NULL AFTER `id`;"
  end

  def self.down
    execute "ALTER TABLE `bugs` DROP `user_id`"
  end
end
